/**
 * Copyright ©2012-2018 HopeHaiyang Corporation, All Rights Reserved
 * http://www.wuhanhope.com
 */

import hujia.core.HujiaTest;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.context.ApplicationContext;
import org.springframework.context.support.FileSystemXmlApplicationContext;

/**
 * class info
 *
 * @author hujia
 *         Create at 2018/6/11 9:52
 */
public class SpringStudyMain {
    private final static Logger logger = LoggerFactory.getLogger(SpringStudyMain.class);

    public static void main(String[] args) {
        logger.debug("hello world");
        //ApplicationContext context = new ClassPathXmlApplicationContext("conf/server.xml");
        ApplicationContext context = new FileSystemXmlApplicationContext("D:\\java project\\mayun_java\\SpringStudy\\conf\\server.xml");
//        StandardNode node = context.getBean("standardNode", StandardNode.class);
        HujiaTest node = context.getBean("hujiaTest",HujiaTest.class);
        node.test();
    }
}
